<!DOCTYPE html>
<html lang="en-US">
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width,initial-scale=1">
    <title>js基础 | 凯的个人博客</title>
    <meta name="generator" content="VuePress 1.9.7">
    <link rel="icon" href="/favicon.ico">
    <meta name="description" content="blog">
    <meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=no">
    
    <link rel="preload" href="/assets/css/0.styles.1299ef83.css" as="style"><link rel="preload" href="/assets/js/app.ba7d257b.js" as="script"><link rel="preload" href="/assets/js/3.018f6450.js" as="script"><link rel="preload" href="/assets/js/1.7b7c57c8.js" as="script"><link rel="preload" href="/assets/js/16.2ab685d2.js" as="script"><link rel="prefetch" href="/assets/js/10.fde56a2d.js"><link rel="prefetch" href="/assets/js/11.8c4e5f05.js"><link rel="prefetch" href="/assets/js/12.e3c30c69.js"><link rel="prefetch" href="/assets/js/13.8229d868.js"><link rel="prefetch" href="/assets/js/14.32869bf0.js"><link rel="prefetch" href="/assets/js/15.2263ef4b.js"><link rel="prefetch" href="/assets/js/17.e2acf9c8.js"><link rel="prefetch" href="/assets/js/18.7dfc157d.js"><link rel="prefetch" href="/assets/js/19.d1da7e7c.js"><link rel="prefetch" href="/assets/js/20.e23c5514.js"><link rel="prefetch" href="/assets/js/21.9dd252a6.js"><link rel="prefetch" href="/assets/js/22.c0fc1edc.js"><link rel="prefetch" href="/assets/js/23.68b6a1ef.js"><link rel="prefetch" href="/assets/js/24.cdb5a0a0.js"><link rel="prefetch" href="/assets/js/25.4c09c358.js"><link rel="prefetch" href="/assets/js/26.a9096ca6.js"><link rel="prefetch" href="/assets/js/27.13a75237.js"><link rel="prefetch" href="/assets/js/28.33bdb258.js"><link rel="prefetch" href="/assets/js/29.74801f15.js"><link rel="prefetch" href="/assets/js/30.30b419c0.js"><link rel="prefetch" href="/assets/js/31.524f160e.js"><link rel="prefetch" href="/assets/js/32.9c5d3891.js"><link rel="prefetch" href="/assets/js/33.9070a57a.js"><link rel="prefetch" href="/assets/js/34.d27b9d35.js"><link rel="prefetch" href="/assets/js/35.3f94918e.js"><link rel="prefetch" href="/assets/js/36.3ec7537c.js"><link rel="prefetch" href="/assets/js/37.087a17ad.js"><link rel="prefetch" href="/assets/js/38.e79a060b.js"><link rel="prefetch" href="/assets/js/39.219f3fef.js"><link rel="prefetch" href="/assets/js/4.9a7e3e1b.js"><link rel="prefetch" href="/assets/js/40.dc82901c.js"><link rel="prefetch" href="/assets/js/41.e98ec0ac.js"><link rel="prefetch" href="/assets/js/42.96575cb1.js"><link rel="prefetch" href="/assets/js/43.e0bb13d9.js"><link rel="prefetch" href="/assets/js/44.7ee919e9.js"><link rel="prefetch" href="/assets/js/45.65f8d6dd.js"><link rel="prefetch" href="/assets/js/46.70530ec4.js"><link rel="prefetch" href="/assets/js/47.35587fbc.js"><link rel="prefetch" href="/assets/js/48.a6fdae9d.js"><link rel="prefetch" href="/assets/js/49.f369ed81.js"><link rel="prefetch" href="/assets/js/5.87035e91.js"><link rel="prefetch" href="/assets/js/50.519b62e3.js"><link rel="prefetch" href="/assets/js/51.38baa29a.js"><link rel="prefetch" href="/assets/js/6.74d67ffd.js"><link rel="prefetch" href="/assets/js/7.4c822714.js"><link rel="prefetch" href="/assets/js/8.69f56ef7.js"><link rel="prefetch" href="/assets/js/9.dec685f7.js">
    <link rel="stylesheet" href="/assets/css/0.styles.1299ef83.css">
  </head>
  <body>
    <div id="app" data-server-rendered="true"><div class="theme-container" data-v-7dd95ae2><div data-v-7dd95ae2><div class="password-shadow password-wrapper-out" style="display:none;" data-v-59e6cb88 data-v-7dd95ae2 data-v-7dd95ae2><h3 class="title" data-v-59e6cb88>凯的个人博客</h3> <p class="description" data-v-59e6cb88>blog</p> <label id="box" class="inputBox" data-v-59e6cb88><input type="password" value="" data-v-59e6cb88> <span data-v-59e6cb88>Konck! Knock!</span> <button data-v-59e6cb88>OK</button></label> <div class="footer" data-v-59e6cb88><span data-v-59e6cb88><i class="iconfont reco-theme" data-v-59e6cb88></i> <a target="blank" href="https://vuepress-theme-reco.recoluan.com" data-v-59e6cb88>vuePress-theme-reco</a></span> <span data-v-59e6cb88><i class="iconfont reco-copyright" data-v-59e6cb88></i> <a data-v-59e6cb88><span data-v-59e6cb88>凯</span>
          
        <!---->
        2024
      </a></span></div></div> <div class="hide" data-v-7dd95ae2><header class="navbar" data-v-7dd95ae2><div class="sidebar-button"><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" role="img" viewBox="0 0 448 512" class="icon"><path fill="currentColor" d="M436 124H12c-6.627 0-12-5.373-12-12V80c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12zm0 160H12c-6.627 0-12-5.373-12-12v-32c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12zm0 160H12c-6.627 0-12-5.373-12-12v-32c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12z"></path></svg></div> <a href="/" class="home-link router-link-active"><img src="/logo.jpg" alt="凯的个人博客" class="logo"> <span class="site-name">凯的个人博客</span></a> <div class="links"><div class="color-picker"><a class="color-button"><i class="iconfont reco-color"></i></a> <div class="color-picker-menu" style="display:none;"><div class="mode-options"><h4 class="title">Choose mode</h4> <ul class="color-mode-options"><li class="dark">dark</li><li class="auto active">auto</li><li class="light">light</li></ul></div></div></div> <div class="search-box"><i class="iconfont reco-search"></i> <input aria-label="Search" autocomplete="off" spellcheck="false" value=""> <!----></div> <nav class="nav-links can-hide"><div class="nav-item"><a href="/" class="nav-link"><i class="iconfont reco-home"></i>
  首页
</a></div><div class="nav-item"><div class="dropdown-wrapper"><a class="dropdown-title"><span class="title"><i class="iconfont reco-category"></i>
      前端技术
    </span> <span class="arrow right"></span></a> <ul class="nav-dropdown" style="display:none;"><li class="dropdown-item"><!----> <a href="/categories/css/" class="nav-link"><i class="undefined"></i>
  css
</a></li><li class="dropdown-item"><!----> <a href="/categories/js/" class="nav-link"><i class="undefined"></i>
  js
</a></li><li class="dropdown-item"><!----> <a href="/categories/html/" class="nav-link"><i class="undefined"></i>
  html
</a></li><li class="dropdown-item"><!----> <a href="/categories/react/" class="nav-link"><i class="undefined"></i>
  react
</a></li><li class="dropdown-item"><!----> <a href="/categories/ts/" class="nav-link"><i class="undefined"></i>
  ts
</a></li><li class="dropdown-item"><!----> <a href="/categories/微信小程序/" class="nav-link"><i class="undefined"></i>
  微信小程序
</a></li></ul></div></div><div class="nav-item"><a href="/tag/" class="nav-link"><i class="iconfont reco-tag"></i>
  Tag
</a></div><div class="nav-item"><div class="dropdown-wrapper"><a class="dropdown-title"><span class="title"><i class="iconfont reco-message"></i>
      消息栏
    </span> <span class="arrow right"></span></a> <ul class="nav-dropdown" style="display:none;"><li class="dropdown-item"><!----> <a href="/docs/theme-reco/" class="nav-link"><i class="undefined"></i>
  vuepress-reco
</a></li></ul></div></div><div class="nav-item"><div class="dropdown-wrapper"><a class="dropdown-title"><span class="title"><i class="iconfont reco-message"></i>
      github链接
    </span> <span class="arrow right"></span></a> <ul class="nav-dropdown" style="display:none;"><li class="dropdown-item"><!----> <a href="https://github.com/recoluan" target="_blank" rel="noopener noreferrer" class="nav-link external"><i class="iconfont reco-github"></i>
  GitHub
  <span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a></li></ul></div></div> <!----></nav></div></header> <div class="sidebar-mask" data-v-7dd95ae2></div> <aside class="sidebar" data-v-7dd95ae2><div class="personal-info-wrapper" data-v-210250cf data-v-7dd95ae2><img src="/avatar.jpg" alt="author-avatar" class="personal-img" data-v-210250cf> <h3 class="name" data-v-210250cf>
    凯
  </h3> <div class="num" data-v-210250cf><div data-v-210250cf><h3 data-v-210250cf>40</h3> <h6 data-v-210250cf>文章</h6></div> <div data-v-210250cf><h3 data-v-210250cf>6</h3> <h6 data-v-210250cf>分类</h6></div></div> <ul class="social-links" data-v-210250cf></ul> <hr data-v-210250cf></div> <nav class="nav-links"><div class="nav-item"><a href="/" class="nav-link"><i class="iconfont reco-home"></i>
  首页
</a></div><div class="nav-item"><div class="dropdown-wrapper"><a class="dropdown-title"><span class="title"><i class="iconfont reco-category"></i>
      前端技术
    </span> <span class="arrow right"></span></a> <ul class="nav-dropdown" style="display:none;"><li class="dropdown-item"><!----> <a href="/categories/css/" class="nav-link"><i class="undefined"></i>
  css
</a></li><li class="dropdown-item"><!----> <a href="/categories/js/" class="nav-link"><i class="undefined"></i>
  js
</a></li><li class="dropdown-item"><!----> <a href="/categories/html/" class="nav-link"><i class="undefined"></i>
  html
</a></li><li class="dropdown-item"><!----> <a href="/categories/react/" class="nav-link"><i class="undefined"></i>
  react
</a></li><li class="dropdown-item"><!----> <a href="/categories/ts/" class="nav-link"><i class="undefined"></i>
  ts
</a></li><li class="dropdown-item"><!----> <a href="/categories/微信小程序/" class="nav-link"><i class="undefined"></i>
  微信小程序
</a></li></ul></div></div><div class="nav-item"><a href="/tag/" class="nav-link"><i class="iconfont reco-tag"></i>
  Tag
</a></div><div class="nav-item"><div class="dropdown-wrapper"><a class="dropdown-title"><span class="title"><i class="iconfont reco-message"></i>
      消息栏
    </span> <span class="arrow right"></span></a> <ul class="nav-dropdown" style="display:none;"><li class="dropdown-item"><!----> <a href="/docs/theme-reco/" class="nav-link"><i class="undefined"></i>
  vuepress-reco
</a></li></ul></div></div><div class="nav-item"><div class="dropdown-wrapper"><a class="dropdown-title"><span class="title"><i class="iconfont reco-message"></i>
      github链接
    </span> <span class="arrow right"></span></a> <ul class="nav-dropdown" style="display:none;"><li class="dropdown-item"><!----> <a href="https://github.com/recoluan" target="_blank" rel="noopener noreferrer" class="nav-link external"><i class="iconfont reco-github"></i>
  GitHub
  <span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a></li></ul></div></div> <!----></nav> <ul class="sidebar-links"><li><a href="/blogs/Front/js/01-js基础.html" class="active sidebar-link">js基础</a></li><li><a href="/blogs/Front/js/02-js语法.html" class="sidebar-link">js语法</a></li><li><a href="/blogs/Front/js/03-js数学方法.html" class="sidebar-link">js数学方法</a></li><li><a href="/blogs/Front/js/04-js数组进阶.html" class="sidebar-link">js数组进阶</a></li><li><a href="/blogs/Front/js/05-day.js第三方时间插件.html" class="sidebar-link">day.js第三方时间插件</a></li><li><a href="/blogs/Front/js/06-js事件.html" class="sidebar-link">js事件</a></li><li><a href="/blogs/Front/js/07-事件Dom与Bom.html" class="sidebar-link">事件Dom与Bom</a></li><li><a href="/blogs/Front/js/08-Ajax网络请求.html" class="sidebar-link">Ajax 网络请求</a></li><li><a href="/blogs/Front/js/09-ajax封装与应用.html" class="sidebar-link">ajax 封装与应用</a></li><li><a href="/blogs/Front/js/10-git操作与项目管理.html" class="sidebar-link">git操作与项目管理</a></li></ul> </aside> <div class="password-shadow password-wrapper-in" style="display:none;" data-v-59e6cb88 data-v-7dd95ae2><h3 class="title" data-v-59e6cb88>js基础</h3> <!----> <label id="box" class="inputBox" data-v-59e6cb88><input type="password" value="" data-v-59e6cb88> <span data-v-59e6cb88>Konck! Knock!</span> <button data-v-59e6cb88>OK</button></label> <div class="footer" data-v-59e6cb88><span data-v-59e6cb88><i class="iconfont reco-theme" data-v-59e6cb88></i> <a target="blank" href="https://vuepress-theme-reco.recoluan.com" data-v-59e6cb88>vuePress-theme-reco</a></span> <span data-v-59e6cb88><i class="iconfont reco-copyright" data-v-59e6cb88></i> <a data-v-59e6cb88><span data-v-59e6cb88>凯</span>
          
        <!---->
        2024
      </a></span></div></div> <div data-v-7dd95ae2><div data-v-7dd95ae2><main class="page" style="padding-right:0;"><section style="display:;"><div class="page-title"><h1 class="title">js基础</h1> <div data-v-8a445198><i class="iconfont reco-account" data-v-8a445198><span data-v-8a445198>凯</span></i> <i class="iconfont reco-date" data-v-8a445198><span data-v-8a445198>4/24/2024</span></i> <!----> <i class="tags iconfont reco-tag" data-v-8a445198><span class="tag-item" data-v-8a445198>js</span></i></div></div> <div class="theme-reco-content content__default"><h2 id="_1-js代码写在哪里"><a href="#_1-js代码写在哪里" class="header-anchor">#</a> 1.JS代码写在哪里</h2> <ul><li>写在页面的body 结束标签的前面</li> <li>写在页面的head 标签中</li> <li>写在一个独立的js文件  <code>&lt;script src=&quot;/xxx.js&quot;&gt;</code> 引入到html中进行使用</li> <li>写在标签的属性上</li></ul> <div class="language-html line-numbers-mode"><pre class="language-html"><code>   <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>div</span> <span class="token special-attr"><span class="token attr-name">onclick</span><span class="token attr-value"><span class="token punctuation attr-equals">=</span><span class="token punctuation">&quot;</span><span class="token value javascript language-javascript">console<span class="token punctuation">.</span><span class="token function">log</span><span class="token punctuation">(</span><span class="token number">111</span><span class="token punctuation">)</span></span><span class="token punctuation">&quot;</span></span></span><span class="token punctuation">&gt;</span></span>点我啊<span class="token tag"><span class="token tag"><span class="token punctuation">&lt;/</span>div</span><span class="token punctuation">&gt;</span></span>
</code></pre> <div class="line-numbers-wrapper"><span class="line-number">1</span><br></div></div><h2 id="_2-变量"><a href="#_2-变量" class="header-anchor">#</a> 2.变量</h2> <blockquote><p>可变的量 （装数据的）</p> <p>常量： 不可变的量，具体数据（不严谨）</p></blockquote> <h2 id="_3-变量的定义-和使用"><a href="#_3-变量的定义-和使用" class="header-anchor">#</a> 3.变量的定义 和使用</h2> <blockquote><p>变量定义的关键字</p></blockquote> <ul><li><p>var</p></li> <li><p>let</p></li> <li><p>const [用的最多]</p></li></ul> <div class="language-js line-numbers-mode"><pre class="language-js"><code>
<span class="token keyword">var</span>  变量名 <span class="token operator">=</span> <span class="token string">'初始值'</span><span class="token punctuation">;</span>
<span class="token keyword">let</span> 变量名 <span class="token operator">=</span> <span class="token string">'初始值'</span><span class="token punctuation">;</span>
<span class="token keyword">const</span> 变量名 <span class="token operator">=</span> <span class="token string">'初始值'</span><span class="token punctuation">;</span>



</code></pre> <div class="line-numbers-wrapper"><span class="line-number">1</span><br><span class="line-number">2</span><br><span class="line-number">3</span><br><span class="line-number">4</span><br><span class="line-number">5</span><br><span class="line-number">6</span><br><span class="line-number">7</span><br></div></div><blockquote><p>变量名命名规范：</p> <p>​      由字母，数字，下划线，$ 组成  , 字母 下划线 $    开头</p></blockquote> <h2 id="_4-数据类型"><a href="#_4-数据类型" class="header-anchor">#</a> 4. 数据类型</h2> <blockquote><p>5基1引 ：5种基本数据类型 1种引用数据类型</p> <p>7基1引（引用可扩展）：</p> <p>数字 number</p> <p>布尔  boolean</p> <p>空   null</p> <p>未定义  undefined</p> <p>字符串  string</p> <p>唯一值  Symbol</p> <p>长数字   long</p></blockquote> <blockquote><p>引用类型：  Object</p> <p>数组  Array</p> <p>对象  Object</p> <p>函数  function</p> <p>正则  RegExp</p> <p>日期 Date</p></blockquote> <div class="language-js line-numbers-mode"><pre class="language-js"><code>
  <span class="token comment">// 字符串</span>
    <span class="token keyword">let</span> str <span class="token operator">=</span> <span class="token string">'你好啊，我是一个字符串'</span><span class="token punctuation">;</span>
    <span class="token comment">// 数字</span>
    <span class="token keyword">let</span> num <span class="token operator">=</span> <span class="token number">1000</span><span class="token punctuation">;</span>
    <span class="token comment">// 空</span>
    <span class="token keyword">let</span> nu <span class="token operator">=</span> <span class="token keyword">null</span><span class="token punctuation">;</span>
    <span class="token comment">// 未定义</span>
    <span class="token keyword">let</span> un <span class="token operator">=</span> <span class="token keyword">undefined</span><span class="token punctuation">;</span>
    <span class="token comment">// 布尔值</span>
    <span class="token keyword">let</span> bool <span class="token operator">=</span> <span class="token boolean">true</span><span class="token punctuation">;</span>
    <span class="token comment">// 唯一值</span>
    <span class="token keyword">let</span> sy <span class="token operator">=</span> <span class="token function">Symbol</span><span class="token punctuation">(</span><span class="token number">1</span><span class="token punctuation">)</span><span class="token punctuation">;</span>
    <span class="token comment">// 长数字</span>
    <span class="token keyword">let</span> lnum <span class="token operator">=</span> <span class="token number">100n</span><span class="token punctuation">;</span>
    <span class="token comment">// 数组-引用</span>
    <span class="token keyword">let</span> arr <span class="token operator">=</span> <span class="token punctuation">[</span><span class="token number">100</span><span class="token punctuation">,</span> <span class="token number">100</span><span class="token punctuation">]</span><span class="token punctuation">;</span>
    <span class="token comment">// 对象-引用</span>
    <span class="token keyword">let</span> obj <span class="token operator">=</span> <span class="token punctuation">{</span> <span class="token literal-property property">key</span><span class="token operator">:</span> <span class="token number">111</span><span class="token punctuation">,</span> <span class="token literal-property property">key1</span><span class="token operator">:</span> <span class="token string">'222'</span> <span class="token punctuation">}</span>
    <span class="token comment">// 函数-引用</span>
    <span class="token keyword">let</span> <span class="token function-variable function">fn</span> <span class="token operator">=</span> <span class="token keyword">function</span> <span class="token punctuation">(</span><span class="token punctuation">)</span> <span class="token punctuation">{</span> <span class="token punctuation">}</span>
    <span class="token comment">// 日期-引用</span>
    <span class="token keyword">let</span> date <span class="token operator">=</span> <span class="token keyword">new</span> <span class="token class-name">Date</span><span class="token punctuation">(</span><span class="token punctuation">)</span>  <span class="token comment">//当前系统的格林威治标准时间格式的时间</span>
    <span class="token comment">// 正则-引用</span>
    <span class="token keyword">let</span> reg <span class="token operator">=</span> <span class="token regex"><span class="token regex-delimiter">/</span><span class="token regex-source language-regex">$1</span><span class="token regex-delimiter">/</span></span><span class="token punctuation">;</span>
</code></pre> <div class="line-numbers-wrapper"><span class="line-number">1</span><br><span class="line-number">2</span><br><span class="line-number">3</span><br><span class="line-number">4</span><br><span class="line-number">5</span><br><span class="line-number">6</span><br><span class="line-number">7</span><br><span class="line-number">8</span><br><span class="line-number">9</span><br><span class="line-number">10</span><br><span class="line-number">11</span><br><span class="line-number">12</span><br><span class="line-number">13</span><br><span class="line-number">14</span><br><span class="line-number">15</span><br><span class="line-number">16</span><br><span class="line-number">17</span><br><span class="line-number">18</span><br><span class="line-number">19</span><br><span class="line-number">20</span><br><span class="line-number">21</span><br><span class="line-number">22</span><br><span class="line-number">23</span><br><span class="line-number">24</span><br><span class="line-number">25</span><br></div></div><ul><li>NAN 不是一种数据类型</li></ul> <blockquote><p>表示的是 结果 ：      not  a  number</p></blockquote> <blockquote><p>判断一个结果变量 是否是数字的方法：</p></blockquote> <div class="language-js line-numbers-mode"><pre class="language-js"><code><span class="token function">isNAN</span><span class="token punctuation">(</span>变量<span class="token punctuation">)</span>  <span class="token operator">===</span><span class="token boolean">true</span><span class="token punctuation">;</span>   <span class="token comment">// 不是数字</span>
isNAN（变量）<span class="token operator">==</span><span class="token boolean">false</span><span class="token punctuation">;</span>   <span class="token comment">//是一个数字</span>
</code></pre> <div class="line-numbers-wrapper"><span class="line-number">1</span><br><span class="line-number">2</span><br></div></div><h2 id="_5-变量类型转换"><a href="#_5-变量类型转换" class="header-anchor">#</a> 5.变量类型转换</h2> <h4 id="_1-强制类型转换-显式类型转换-基础分"><a href="#_1-强制类型转换-显式类型转换-基础分" class="header-anchor">#</a> 1.强制类型转换  显式类型转换（基础分）</h4> <ul><li>强制转数字</li></ul> <div class="language-js line-numbers-mode"><pre class="language-js"><code><span class="token keyword">let</span> num <span class="token operator">=</span> <span class="token string">'2.333'</span>
<span class="token comment">//强制转换为整数  : 字符串和数字本身转换</span>
<span class="token function">parseInt</span><span class="token punctuation">(</span>num<span class="token punctuation">)</span>  <span class="token comment">//2  </span>
<span class="token comment">//强制转换为 小数   ： 字符串和数字本身转换</span>
<span class="token function">parseFloat</span><span class="token punctuation">(</span>num<span class="token punctuation">)</span> <span class="token comment">//2.333</span>

<span class="token comment">//强制转换为 数字    ： 不限制数据类型，任何数据类型都可以转为数字</span>
<span class="token function">Number</span><span class="token punctuation">(</span>num <span class="token punctuation">)</span>  <span class="token comment">//2.333</span>
</code></pre> <div class="line-numbers-wrapper"><span class="line-number">1</span><br><span class="line-number">2</span><br><span class="line-number">3</span><br><span class="line-number">4</span><br><span class="line-number">5</span><br><span class="line-number">6</span><br><span class="line-number">7</span><br><span class="line-number">8</span><br></div></div><ul><li>如果是基本数据类型的相互转换 ，都有一个共同的方法</li></ul> <div class="language-js line-numbers-mode"><pre class="language-js"><code><span class="token function">数据类型名</span><span class="token punctuation">(</span>要转换的变量<span class="token punctuation">)</span>   <span class="token comment">//数据类型名 大驼峰语法</span>

<span class="token function">Number</span><span class="token punctuation">(</span><span class="token punctuation">)</span>  <span class="token comment">//强制转为数字</span>
<span class="token function">Boolean</span><span class="token punctuation">(</span><span class="token punctuation">)</span>  <span class="token comment">//强制换转为布尔类型</span>
<span class="token function">String</span><span class="token punctuation">(</span><span class="token punctuation">)</span>  <span class="token comment">//强制转换为字符串    </span>
</code></pre> <div class="line-numbers-wrapper"><span class="line-number">1</span><br><span class="line-number">2</span><br><span class="line-number">3</span><br><span class="line-number">4</span><br><span class="line-number">5</span><br></div></div><h4 id="_2-自动类型转换-隐式类型转换-高分"><a href="#_2-自动类型转换-隐式类型转换-高分" class="header-anchor">#</a> 2.自动类型转换 隐式类型转换（高分）</h4> <ul><li>数字 和字符串 参与算数运算时  （ -   %  /  *  ）</li></ul> <blockquote><p>将 字符串自动转换为数字 再进行运算</p></blockquote> <ul><li>数字和字符串 参与 字符串的拼接 +</li></ul> <blockquote><p>将数字转换为字符串</p></blockquote> <div class="language-js line-numbers-mode"><pre class="language-js"><code><span class="token keyword">let</span> a <span class="token operator">=</span><span class="token number">100</span><span class="token punctuation">;</span>
<span class="token keyword">let</span> b <span class="token operator">=</span> <span class="token string">'100'</span><span class="token punctuation">;</span>

console<span class="token punctuation">.</span><span class="token function">log</span><span class="token punctuation">(</span>a<span class="token operator">+</span>b<span class="token punctuation">)</span><span class="token comment">// 100100  </span>

<span class="token number">100</span><span class="token operator">+</span><span class="token string">'200'</span><span class="token operator">*</span><span class="token number">2</span>   <span class="token comment">//  500  </span>

<span class="token boolean">true</span><span class="token operator">+</span><span class="token string">'100'</span> <span class="token comment">// ?  true100   </span>

<span class="token boolean">true</span><span class="token operator">+</span><span class="token string">'100'</span><span class="token operator">*</span><span class="token number">2</span>  <span class="token comment">//  201    </span>


<span class="token string">'90'</span><span class="token operator">&gt;</span><span class="token number">80</span> <span class="token comment">// true false </span>

<span class="token boolean">true</span> <span class="token operator">&amp;&amp;</span> <span class="token string">'100'</span>  <span class="token comment">//'100'</span>

<span class="token boolean">true</span><span class="token operator">+</span><span class="token string">'100'</span><span class="token operator">==</span><span class="token number">101</span> <span class="token operator">&amp;&amp;</span> <span class="token keyword">null</span> <span class="token operator">||</span> <span class="token keyword">undefined</span> <span class="token operator">||</span> <span class="token boolean">true</span><span class="token operator">===</span><span class="token number">1</span>  <span class="token comment">// false</span>

</code></pre> <div class="line-numbers-wrapper"><span class="line-number">1</span><br><span class="line-number">2</span><br><span class="line-number">3</span><br><span class="line-number">4</span><br><span class="line-number">5</span><br><span class="line-number">6</span><br><span class="line-number">7</span><br><span class="line-number">8</span><br><span class="line-number">9</span><br><span class="line-number">10</span><br><span class="line-number">11</span><br><span class="line-number">12</span><br><span class="line-number">13</span><br><span class="line-number">14</span><br><span class="line-number">15</span><br><span class="line-number">16</span><br><span class="line-number">17</span><br><span class="line-number">18</span><br></div></div><h2 id="_6-运算符"><a href="#_6-运算符" class="header-anchor">#</a> 6.运算符</h2> <blockquote><p>单目运算  只需要一个数据</p> <p>双目运算   运算时至少需要两个数据</p> <p>三目运算  表示if else</p></blockquote> <p><strong>注意</strong></p> <blockquote><p>0 1 和true false 转换过程中</p> <p>true===&gt;1</p> <p>false ===&gt;0</p> <p>在if 条件中 if（条件）  <code>运行表单式1：满足条件 的前提：非0值 不是一个null 不是一个false</code></p></blockquote> <h3 id="_6-1-算术运算符"><a href="#_6-1-算术运算符" class="header-anchor">#</a> 6.1 算术运算符</h3> <blockquote><p><code>+ - * / %</code></p> <p><code>++ --</code></p></blockquote> <p><strong>注意：</strong></p> <ul><li><p><code>+</code> 如果表达式中存在字符串又不存在其他的运算符  就表示 字符拼接  不再表示 加法运算</p></li> <li><p><code>++ --</code>  单目运算 自增自减</p></li></ul> <blockquote><p>前缀:如果变量在前 ，</p> <p>后缀：如果变量在后</p> <p>无论是前缀还是后缀，变量的值 都会发生改变</p> <p>前缀 表达式的值时变量改变之前的值，后缀表达式的值变量改变之后的值</p></blockquote> <div class="language-js line-numbers-mode"><pre class="language-js"><code><span class="token keyword">let</span> a <span class="token operator">=</span> <span class="token number">100</span><span class="token punctuation">;</span>
<span class="token keyword">let</span> b <span class="token operator">=</span> a<span class="token operator">++</span><span class="token punctuation">;</span>
console<span class="token punctuation">.</span><span class="token function">log</span><span class="token punctuation">(</span>a<span class="token punctuation">)</span><span class="token punctuation">;</span>  <span class="token comment">//变量的值：101</span>
console<span class="token punctuation">.</span><span class="token function">log</span><span class="token punctuation">(</span>b<span class="token punctuation">)</span><span class="token punctuation">;</span>  <span class="token comment">//表达式的值：100</span>


<span class="token keyword">let</span> a1 <span class="token operator">=</span> <span class="token number">200</span><span class="token punctuation">;</span>
<span class="token keyword">let</span> b1 <span class="token operator">=</span> <span class="token operator">--</span>a1<span class="token punctuation">;</span> 
<span class="token comment">//a1 ==199 </span>
<span class="token comment">//b1 ==199 </span>
</code></pre> <div class="line-numbers-wrapper"><span class="line-number">1</span><br><span class="line-number">2</span><br><span class="line-number">3</span><br><span class="line-number">4</span><br><span class="line-number">5</span><br><span class="line-number">6</span><br><span class="line-number">7</span><br><span class="line-number">8</span><br><span class="line-number">9</span><br><span class="line-number">10</span><br></div></div><div class="language-js line-numbers-mode"><pre class="language-js"><code><span class="token keyword">let</span> a <span class="token operator">=</span><span class="token number">1</span> <span class="token punctuation">;</span>
<span class="token keyword">let</span> b <span class="token operator">=</span><span class="token number">0</span> <span class="token punctuation">;</span>
<span class="token keyword">let</span> c <span class="token operator">=</span> <span class="token operator">-</span><span class="token number">1</span><span class="token punctuation">;</span>


console<span class="token punctuation">.</span><span class="token function">log</span><span class="token punctuation">(</span>a<span class="token operator">++</span><span class="token operator">+</span><span class="token operator">--</span>a<span class="token operator">+</span>b<span class="token operator">+</span><span class="token operator">--</span>c<span class="token operator">+</span>c<span class="token operator">++</span><span class="token punctuation">)</span><span class="token punctuation">;</span> 
<span class="token comment">//1+1+0+-2+-2  =-2</span>
<span class="token comment">//a:1     b:0   c:-1</span>
console<span class="token punctuation">.</span><span class="token function">log</span><span class="token punctuation">(</span>a<span class="token punctuation">,</span>b<span class="token punctuation">,</span>c<span class="token punctuation">)</span>   <span class="token comment">// 1  0  -1 </span>

</code></pre> <div class="line-numbers-wrapper"><span class="line-number">1</span><br><span class="line-number">2</span><br><span class="line-number">3</span><br><span class="line-number">4</span><br><span class="line-number">5</span><br><span class="line-number">6</span><br><span class="line-number">7</span><br><span class="line-number">8</span><br><span class="line-number">9</span><br><span class="line-number">10</span><br></div></div><h3 id="_6-2-逻辑运算符"><a href="#_6-2-逻辑运算符" class="header-anchor">#</a> 6.2 逻辑运算符</h3> <blockquote><p><code>&amp;&amp; || !</code></p></blockquote> <blockquote><p>&amp;&amp; 同时为真 结果为真</p> <p>|| 只要有一个为真  结果为真</p> <p>！  结果相反   结果必然为 true或false</p></blockquote> <p><strong>注意：</strong></p> <blockquote><ul><li><p>如果是<code>&amp;&amp;</code> 前面的表达式为假， 整个表达式的结果就为假， 后面的表达式不会运行</p></li> <li><p>如果是 <code>||</code>前面的表达式 为真，真个表达式的结果为真，后面表达式不会运行</p> <div class="language-js line-numbers-mode"><pre class="language-js"><code><span class="token keyword">let</span> a <span class="token operator">=</span> <span class="token number">1</span><span class="token punctuation">;</span>
console<span class="token punctuation">.</span><span class="token function">log</span><span class="token punctuation">(</span><span class="token number">3</span><span class="token operator">&gt;</span><span class="token number">2</span>  <span class="token operator">&amp;&amp;</span> a<span class="token operator">++</span><span class="token punctuation">)</span><span class="token punctuation">;</span>   <span class="token comment">// 1 </span>
console<span class="token punctuation">.</span><span class="token function">log</span><span class="token punctuation">(</span>a<span class="token punctuation">)</span><span class="token punctuation">;</span>  <span class="token comment">//2</span>

console<span class="token punctuation">.</span><span class="token function">log</span><span class="token punctuation">(</span><span class="token number">100</span> <span class="token operator">||</span><span class="token number">200</span><span class="token punctuation">)</span>  <span class="token comment">// ?true 100 200 </span>
</code></pre> <div class="line-numbers-wrapper"><span class="line-number">1</span><br><span class="line-number">2</span><br><span class="line-number">3</span><br><span class="line-number">4</span><br><span class="line-number">5</span><br></div></div></li> <li><p><code>&amp;&amp; ||</code> 的输出结果，不一定是 true或false ，结果是 整个表达式运算结束之后的值</p></li></ul></blockquote> <div class="language-js line-numbers-mode"><pre class="language-js"><code><span class="token keyword">let</span> a <span class="token operator">=</span><span class="token number">1</span> <span class="token punctuation">;</span>
<span class="token keyword">let</span> b <span class="token operator">=</span><span class="token number">0</span><span class="token punctuation">;</span>
<span class="token keyword">let</span> c <span class="token operator">=</span> <span class="token operator">-</span><span class="token number">1</span> <span class="token punctuation">;</span>

a<span class="token operator">--</span><span class="token operator">+</span>b <span class="token operator">&amp;&amp;</span> <span class="token operator">--</span>b<span class="token operator">++</span><span class="token operator">+</span>c     <span class="token comment">//表达式  a b c   -1   0  -1  0</span>
<span class="token number">1</span><span class="token operator">+</span><span class="token number">0</span> <span class="token operator">&amp;&amp;</span> <span class="token operator">-</span><span class="token number">1</span><span class="token operator">+</span><span class="token number">0</span>   


<span class="token keyword">let</span> a <span class="token operator">=</span><span class="token number">1</span> <span class="token punctuation">;</span>
<span class="token keyword">let</span> b <span class="token operator">=</span><span class="token number">0</span><span class="token punctuation">;</span>
<span class="token keyword">let</span> c <span class="token operator">=</span> <span class="token operator">-</span><span class="token number">1</span> <span class="token punctuation">;</span>
a<span class="token operator">&amp;&amp;</span>b<span class="token operator">--</span><span class="token operator">||</span>c<span class="token operator">++</span><span class="token operator">+</span>b<span class="token operator">--</span><span class="token punctuation">;</span>    <span class="token comment">//表达式  abc  -2  1  -2 0</span>
<span class="token number">1</span><span class="token operator">&amp;&amp;</span> <span class="token number">0</span> <span class="token operator">||</span> <span class="token operator">-</span><span class="token number">1</span><span class="token operator">+</span><span class="token operator">-</span><span class="token number">1</span>
</code></pre> <div class="line-numbers-wrapper"><span class="line-number">1</span><br><span class="line-number">2</span><br><span class="line-number">3</span><br><span class="line-number">4</span><br><span class="line-number">5</span><br><span class="line-number">6</span><br><span class="line-number">7</span><br><span class="line-number">8</span><br><span class="line-number">9</span><br><span class="line-number">10</span><br><span class="line-number">11</span><br><span class="line-number">12</span><br><span class="line-number">13</span><br></div></div><h3 id="_6-3-条件运算"><a href="#_6-3-条件运算" class="header-anchor">#</a> 6.3 条件运算</h3> <p><code>&gt; &lt; &gt;= &lt;= != !== == ===</code></p> <p><strong>注意：</strong></p> <blockquote><p>==  相等： <code>a==b</code>   值相等 （隐式转换）</p> <p>=== 全等：<code>a===b</code>  值相等 类型相等</p></blockquote> <div class="language-js line-numbers-mode"><pre class="language-js"><code>
<span class="token keyword">null</span> <span class="token operator">==</span><span class="token keyword">undefined</span>  <span class="token comment">// true   </span>
<span class="token keyword">null</span> <span class="token operator">===</span><span class="token keyword">undefined</span>  <span class="token comment">//false</span>

<span class="token string">'1'</span> <span class="token operator">==</span><span class="token number">1</span>  <span class="token comment">//true</span>
<span class="token string">'0'</span> <span class="token operator">==</span><span class="token number">0</span>   <span class="token comment">//true </span>
<span class="token number">1</span><span class="token operator">==</span><span class="token boolean">true</span>  <span class="token comment">//true </span>
<span class="token number">0</span><span class="token operator">==</span><span class="token boolean">false</span>  <span class="token comment">//true </span>
<span class="token number">2</span><span class="token operator">==</span><span class="token boolean">true</span>  <span class="token comment">//true </span>
<span class="token number">1</span><span class="token operator">==</span><span class="token number">2</span>  <span class="token comment">//true</span>

</code></pre> <div class="line-numbers-wrapper"><span class="line-number">1</span><br><span class="line-number">2</span><br><span class="line-number">3</span><br><span class="line-number">4</span><br><span class="line-number">5</span><br><span class="line-number">6</span><br><span class="line-number">7</span><br><span class="line-number">8</span><br><span class="line-number">9</span><br><span class="line-number">10</span><br><span class="line-number">11</span><br></div></div><h3 id="_6-4-赋值运算符"><a href="#_6-4-赋值运算符" class="header-anchor">#</a> 6.4 赋值运算符</h3> <p><code>= += *= /= %=</code></p> <blockquote><p>将右边的值 赋给左边的变量</p></blockquote> <div class="language-js line-numbers-mode"><pre class="language-js"><code>a<span class="token operator">+=</span><span class="token number">100</span><span class="token punctuation">;</span>  <span class="token operator">===</span><span class="token operator">=&gt;</span>  a<span class="token operator">=</span>a<span class="token operator">+</span><span class="token number">100</span><span class="token punctuation">;</span>
a<span class="token operator">/=</span><span class="token number">2</span><span class="token punctuation">;</span>   <span class="token operator">===</span><span class="token operator">=&gt;</span>a<span class="token operator">=</span>a<span class="token operator">/</span><span class="token number">2</span><span class="token punctuation">;</span>
</code></pre> <div class="line-numbers-wrapper"><span class="line-number">1</span><br><span class="line-number">2</span><br></div></div><h3 id="_6-5-三目运算符-if"><a href="#_6-5-三目运算符-if" class="header-anchor">#</a> 6.5 三目运算符  if</h3> <p><code>条件1?表达似乎1：表达式2</code></p> <h2 id="_6-6-运算符的优先级"><a href="#_6-6-运算符的优先级" class="header-anchor">#</a> 6.6 运算符的优先级</h2> <h2 id="作业"><a href="#作业" class="header-anchor">#</a> 作业</h2> <div class="language-js line-numbers-mode"><pre class="language-js"><code>







</code></pre> <div class="line-numbers-wrapper"><span class="line-number">1</span><br><span class="line-number">2</span><br><span class="line-number">3</span><br><span class="line-number">4</span><br><span class="line-number">5</span><br><span class="line-number">6</span><br><span class="line-number">7</span><br><span class="line-number">8</span><br></div></div><h2 id="面试题"><a href="#面试题" class="header-anchor">#</a> 面试题：</h2> <h3 id="_1-js代码写在body的结束标签前面和-写在-head标签中-有什么区别"><a href="#_1-js代码写在body的结束标签前面和-写在-head标签中-有什么区别" class="header-anchor">#</a> 1.js代码写在body的结束标签前面和 写在 head标签中 有什么区别？</h3> <blockquote><p>将js代码写在body结束标的前面 更好</p> <p>好处：如果在js代码  获取页面的dom节点    写在head标签中的js是不能够获取的（代码的执行顺序问题）</p></blockquote> <div class="language-html line-numbers-mode"><pre class="language-html"><code><span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>head</span><span class="token punctuation">&gt;</span></span>
    <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>meta</span> <span class="token attr-name">charset</span><span class="token attr-value"><span class="token punctuation attr-equals">=</span><span class="token punctuation">&quot;</span>UTF-8<span class="token punctuation">&quot;</span></span><span class="token punctuation">&gt;</span></span>
    <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>meta</span> <span class="token attr-name">name</span><span class="token attr-value"><span class="token punctuation attr-equals">=</span><span class="token punctuation">&quot;</span>viewport<span class="token punctuation">&quot;</span></span> <span class="token attr-name">content</span><span class="token attr-value"><span class="token punctuation attr-equals">=</span><span class="token punctuation">&quot;</span>width=device-width, initial-scale=1.0<span class="token punctuation">&quot;</span></span><span class="token punctuation">&gt;</span></span>
    <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>title</span><span class="token punctuation">&gt;</span></span>Document<span class="token tag"><span class="token tag"><span class="token punctuation">&lt;/</span>title</span><span class="token punctuation">&gt;</span></span>
    <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>script</span><span class="token punctuation">&gt;</span></span><span class="token script"><span class="token language-javascript">
        <span class="token keyword">let</span> box <span class="token operator">=</span> document<span class="token punctuation">.</span><span class="token function">querySelector</span><span class="token punctuation">(</span><span class="token string">'.box'</span><span class="token punctuation">)</span><span class="token punctuation">;</span>
        console<span class="token punctuation">.</span><span class="token function">log</span><span class="token punctuation">(</span>box<span class="token punctuation">)</span><span class="token punctuation">;</span>  <span class="token comment">//null </span>
    </span></span><span class="token tag"><span class="token tag"><span class="token punctuation">&lt;/</span>script</span><span class="token punctuation">&gt;</span></span>
<span class="token tag"><span class="token tag"><span class="token punctuation">&lt;/</span>head</span><span class="token punctuation">&gt;</span></span>

<span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>body</span><span class="token punctuation">&gt;</span></span>
    <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>div</span> <span class="token attr-name">class</span><span class="token attr-value"><span class="token punctuation attr-equals">=</span><span class="token punctuation">&quot;</span>box<span class="token punctuation">&quot;</span></span><span class="token punctuation">&gt;</span></span><span class="token tag"><span class="token tag"><span class="token punctuation">&lt;/</span>div</span><span class="token punctuation">&gt;</span></span>
    <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>script</span><span class="token punctuation">&gt;</span></span><span class="token script"><span class="token language-javascript">
        <span class="token keyword">let</span> box1 <span class="token operator">=</span> document<span class="token punctuation">.</span><span class="token function">querySelector</span><span class="token punctuation">(</span><span class="token string">'.box'</span><span class="token punctuation">)</span><span class="token punctuation">;</span>
        console<span class="token punctuation">.</span><span class="token function">log</span><span class="token punctuation">(</span>box1<span class="token punctuation">)</span><span class="token punctuation">;</span>  <span class="token comment">//&lt;div class=&quot;box&quot; &gt; &lt;/div&gt; </span>
    </span></span><span class="token tag"><span class="token tag"><span class="token punctuation">&lt;/</span>script</span><span class="token punctuation">&gt;</span></span>

<span class="token tag"><span class="token tag"><span class="token punctuation">&lt;/</span>body</span><span class="token punctuation">&gt;</span></span>
</code></pre> <div class="line-numbers-wrapper"><span class="line-number">1</span><br><span class="line-number">2</span><br><span class="line-number">3</span><br><span class="line-number">4</span><br><span class="line-number">5</span><br><span class="line-number">6</span><br><span class="line-number">7</span><br><span class="line-number">8</span><br><span class="line-number">9</span><br><span class="line-number">10</span><br><span class="line-number">11</span><br><span class="line-number">12</span><br><span class="line-number">13</span><br><span class="line-number">14</span><br><span class="line-number">15</span><br><span class="line-number">16</span><br><span class="line-number">17</span><br><span class="line-number">18</span><br></div></div></div></section> <footer class="page-edit"><!----> <div class="last-updated"><span class="prefix">Last Updated: </span> <span class="time">5/29/2024, 8:56:07 AM</span></div></footer> <div class="page-nav"><p class="inner"><!----> <span class="next"><a href="/blogs/Front/js/02-js语法.html">
          js语法
        </a></span></p></div> <div class="comments-wrapper"><!----></div></main></div> <!----></div> <ul class="sub-sidebar sub-sidebar-wrapper" style="width:0;" data-v-b57cc07c data-v-7dd95ae2></ul></div></div></div><div class="global-ui"><div class="back-to-ceiling" style="right:1rem;bottom:6rem;width:2.5rem;height:2.5rem;border-radius:.25rem;line-height:2.5rem;display:none;" data-v-6e9c9188 data-v-6e9c9188><svg t="1574745035067" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5404" class="icon" data-v-6e9c9188><path d="M526.60727968 10.90185116a27.675 27.675 0 0 0-29.21455937 0c-131.36607665 82.28402758-218.69155461 228.01873535-218.69155402 394.07834331a462.20625001 462.20625001 0 0 0 5.36959153 69.94390903c1.00431239 6.55289093-0.34802892 13.13561351-3.76865779 18.80351572-32.63518765 54.11355614-51.75690182 118.55860487-51.7569018 187.94566865a371.06718723 371.06718723 0 0 0 11.50484808 91.98906777c6.53300375 25.50556257 41.68394495 28.14064038 52.69160883 4.22606766 17.37162448-37.73630017 42.14135425-72.50938081 72.80769204-103.21549295 2.18761121 3.04276886 4.15646224 6.24463696 6.40373557 9.22774369a1871.4375 1871.4375 0 0 0 140.04691725 5.34970492 1866.36093723 1866.36093723 0 0 0 140.04691723-5.34970492c2.24727335-2.98310674 4.21612437-6.18497483 6.3937923-9.2178004 30.66633723 30.70611158 55.4360664 65.4791928 72.80769147 103.21549355 11.00766384 23.91457269 46.15860503 21.27949489 52.69160879-4.22606768a371.15156223 371.15156223 0 0 0 11.514792-91.99901164c0-69.36717486-19.13165746-133.82216804-51.75690182-187.92578088-3.42062944-5.66790279-4.76302748-12.26056868-3.76865837-18.80351632a462.20625001 462.20625001 0 0 0 5.36959269-69.943909c-0.00994388-166.08943902-87.32547796-311.81420293-218.6915546-394.09823051zM605.93803103 357.87693858a93.93749974 93.93749974 0 1 1-187.89594924 6.1e-7 93.93749974 93.93749974 0 0 1 187.89594924-6.1e-7z" p-id="5405" data-v-6e9c9188></path><path d="M429.50777625 765.63860547C429.50777625 803.39355007 466.44236686 1000.39046097 512.00932183 1000.39046097c45.56695499 0 82.4922232-197.00623328 82.5015456-234.7518555 0-37.75494459-36.9345906-68.35043303-82.4922232-68.34111062-45.57627738-0.00932239-82.52019037 30.59548842-82.51086798 68.34111062z" p-id="5406" data-v-6e9c9188></path></svg></div><canvas id="vuepress-canvas-cursor"></canvas></div></div>
    <script src="/assets/js/app.ba7d257b.js" defer></script><script src="/assets/js/3.018f6450.js" defer></script><script src="/assets/js/1.7b7c57c8.js" defer></script><script src="/assets/js/16.2ab685d2.js" defer></script>
  </body>
</html>
